package sg.edu.nus.iss.billing.entity.service;

import java.util.Date;

import sg.edu.nus.iss.billing.entity.BaseEntity;
import sg.edu.nus.iss.billing.entity.RecordState;

public class SubscriptionEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4265181822774320706L;

	private String accNo;
	
	private String subscriptionId = "";

	private boolean isBasicSvc;
	
	private String svcId="";
	
	private String svcNo;

	private Date subscribeDt;

	private Date terminateDt;

	private RecordState state;


	public String getAccNo() {

		return accNo;
	}

	public void setAccNo(String accountNo) {

		this.accNo = accountNo;
	}

	public String getSvcId() {

		return svcId;
	}

	public void setSvcId(String planId) {

		this.svcId = planId;
	}

	public Date getSubscribeDt() {

		return subscribeDt;
	}

	public void setSubscribeDt(Date subscribeDt) {

		this.subscribeDt = subscribeDt;
	}

	public Date getTerminateDt() {

		return terminateDt;
	}

	public void setTerminateDt(Date terminateDt) {

		this.terminateDt = terminateDt;
	}

	public RecordState getState() {

		return state;
	}

	public void setState(RecordState currentState) {

		this.state = currentState;
	}

	public String getSubscriptionId() {

		return subscriptionId;
	}

	public void setSubscriptionId(String subscriptionId) {

		this.subscriptionId = subscriptionId;
	}

	
	public String getSvcNo() {
	
		return svcNo;
	}
	
	public void setSvcNo(String svcNo) {
	
		this.svcNo = svcNo;
	}

	@Override
	public String toString() {

		return "SubscriptionEntity [id="+id+" accNo=" +accNo +", planId=" +svcId +", subscriptionId=" +subscriptionId +", svcNo=" +svcNo +",isBaicSvc="+isBasicSvc+" subscribeDt=" +subscribeDt +", terminateDt=" +terminateDt +", currentState=" +state +"]";
	}

	
	public boolean getIsBasicSvc() {
	
		return isBasicSvc;
	}

	
	public void setBasicSvc(boolean isBasicSvc) {
	
		this.isBasicSvc = isBasicSvc;
	}

	

}
